import unittest
from Finance_fun.page.page08_remind_setting import Page_Remind_Setting
from Finance_fun.base.get_driver import GetDriver
class RemindSettingTest(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        cls.driver = GetDriver.get_driver()
        cls.remind_setting = Page_Remind_Setting(cls.driver)
        cls.remind_setting.page_click_login_link()
        cls.remind_setting.page_login("15390197897","cf12345678")


    @classmethod
    def tearDownClass(cls):
        GetDriver.quit_driver()

    def test01_remind_setting(self):
        # 点击提醒设置
        self.remind_setting.click_remind_link()
        # 点击站内全选
        self.remind_setting.station_all_select()
        # 点击邮件全选
        self.remind_setting.email_all_select()
        # 点击确认提交
        self.remind_setting.click_confirm_btn()

    def test02_remind_setting(self):
        # 点击提醒设置
        self.remind_setting.click_remind_link()
        # 点击站内全选
        self.remind_setting.station_all_select()
        # 点击邮件全选
        self.remind_setting.email_all_select()
        # 点击确认提交
        self.remind_setting.click_confirm_btn()

    def test03_remind_setting(self):
        # 点击提醒设置
        self.remind_setting.click_remind_link()
        # 点击站内全选
        self.remind_setting.station_all_select()
        # 点击邮件全选
        self.remind_setting.email_all_select()
        # 点击确认提交
        self.remind_setting.click_confirm_btn()

    def test04_remind_setting(self):
        # 点击提醒设置
        self.remind_setting.click_remind_link()
        # 点击站内全选
        self.remind_setting.station_all_select()
        # 点击邮件全选
        self.remind_setting.email_all_select()
        # 点击确认提交
        self.remind_setting.click_confirm_btn()